← Back to issue list

Ignore vcs folders for `source-type: local` builds

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1795642
Type
issue
State
open
Author
~saviq
Labels
Created
2018-10-02 13:06:05.831494+00:00
Updated
2018-10-02 19:15:04.817792+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Snapcraft could DTRT and ignore .git, .bazaar, .hg folders etc. when source-type is local. It's very unlikely it's needed for the build, and if it is, the developer should probably explicitly say `source-type: $vcs`. A .snapcraftignore file is certainly an option, but would require developer action, and add more snap cruft to the repository. A `source-ignore:` key in the YAML might be more appropriate.

Evaluation history

No evaluation history available.